﻿<Window x:Class="JustPlus.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="JustListen" Height="295" Width="535" ResizeMode="NoResize" WindowStyle="None" Topmost="False" WindowStartupLocation="CenterScreen" Icon="/JustPlus;component/Images/logo.png" MouseLeftButtonDown="Window_MouseLeftButtonDown" AllowsTransparency="True" Closed="Window_Closed" >
    <Window.Background>
        <ImageBrush x:Name="bkimage" ImageSource="/JustPlus;component/Images/background0.jpg" Stretch="UniformToFill" />
    </Window.Background>
    <Window.Resources>
        <BitmapImage x:Key="PlayThumbNailImage">/JustPlus;component/Images/play.png</BitmapImage>
        <BitmapImage x:Key="PauseThumbNailImage">/JustPlus;component/Images/pause.png</BitmapImage>
        <BitmapImage x:Key="NextThumbNailImage">/JustPlus;component/Images/next.png</BitmapImage>
        <BitmapImage x:Key="FavThumbNailImage">/JustPlus;component/Images/favourite.png</BitmapImage>
        <BitmapImage x:Key="LikeThumbNailImage">/JustPlus;component/Images/like.png</BitmapImage>
        <BitmapImage x:Key="UnlikeThumbNailImage">/JustPlus;component/Images/unlike.png</BitmapImage>
    </Window.Resources>
    <Window.TaskbarItemInfo>
        <TaskbarItemInfo x:Name="taskbar1" ThumbnailClipMargin="0,0,256,0" ProgressState="Normal" >
            <TaskbarItemInfo.ThumbButtonInfos>
                <ThumbButtonInfo x:Name="PlayThumbNail" ImageSource="{StaticResource PauseThumbNailImage}" Description="暂停" Click="PlayThumbNail_Click" />
                <ThumbButtonInfo x:Name="NextThumbNail" ImageSource="{StaticResource NextThumbNailImage}" Description="下一首" Click="NextThumbNail_Click" />
                <ThumbButtonInfo x:Name="LikeThumbNail" ImageSource="{StaticResource FavThumbNailImage}"  Description="喜欢" Click="LikeThumbNail_Click" />
                <ThumbButtonInfo x:Name="UnlikeThumbNail" ImageSource="{StaticResource UnlikeThumbNailImage}" Description="不再播放" IsEnabled="False" Click="UnlikeThumbNail_Click" />
            </TaskbarItemInfo.ThumbButtonInfos>
        </TaskbarItemInfo>
    </Window.TaskbarItemInfo>
    <Grid x:Name="LayoutRoot" OpacityMask="{x:Null}" Background="#6FFFFFFF">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="256*" />
            <ColumnDefinition Width="256*" />
        </Grid.ColumnDefinitions>
        <!--<Image Height="256" HorizontalAlignment="Left" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="513" Grid.ColumnSpan="2" Source="/JustPlus;component/Images/background.jpg" Opacity="0.6" />-->
        <StackPanel Height="256" HorizontalAlignment="Left" Name="stackPanel1" VerticalAlignment="Top" Width="513" Grid.ColumnSpan="2" Orientation="Horizontal">
            <StackPanel Height="256" HorizontalAlignment="Left" Name="stackPanel2" VerticalAlignment="Top" Width="256"/>
            <StackPanel Height="256" HorizontalAlignment="Left" Name="stackPanel3" VerticalAlignment="Top" Width="257"/>
        </StackPanel>
    </Grid>
</Window>
